package com.populatton.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author shmily
 * @since 2019-09-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PersonalInfo对象", description="")
public class PersonalInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty(value = "主键")
    private Integer id;

    @ApiModelProperty(value = "姓名")
    private String name;

    @ApiModelProperty(value = "曾用名")
    private String formername;

    @ApiModelProperty(value = "图片地址")
    private String picture;

    @ApiModelProperty(value = "性别 0:男 1:女")
    private Integer sex;

    @ApiModelProperty(value = "来本地时间")
    private LocalDateTime localtime;

    @ApiModelProperty(value = "公民身份号码")
    private String citizenshipnumber;

    @ApiModelProperty(value = "民族")
    private String nation;

    @ApiModelProperty(value = "省1")
    private String province1;

    @ApiModelProperty(value = "省2")
    private String province2;

    @ApiModelProperty(value = "市1")
    private String city1;

    @ApiModelProperty(value = "市2")
    private String city2;

    @ApiModelProperty(value = "县区1")
    private String county1;

    @ApiModelProperty(value = "县区2")
    private String county2;

    @ApiModelProperty(value = "乡镇1")
    private String town1;

    @ApiModelProperty(value = "乡镇2")
    private String town2;

    @ApiModelProperty(value = "村1")
    private String village1;

    @ApiModelProperty(value = "村2")
    private String village2;

    @ApiModelProperty(value = "现居住详细地址")
    private String address;

    @ApiModelProperty(value = "固定电话")
    private String fixedtelephone;

    @ApiModelProperty(value = "移动电话")
    private String mobilephone;

    @ApiModelProperty(value = "联系人")
    private String linkman;

    @ApiModelProperty(value = "紧急固定电话")
    private String pressingfixedphone;

    @ApiModelProperty(value = "紧急移动电话")
    private String pressingmobilephone;

    @ApiModelProperty(value = "文化程度id")
    private Integer cultureId;

    @ApiModelProperty(value = "政治面貌id")
    private Integer polityId;

    @ApiModelProperty(value = "宗教信仰id")
    private Integer religionId;

    @ApiModelProperty(value = "身高")
    private Integer height;

    @ApiModelProperty(value = "体重")
    private Double weight;

    @ApiModelProperty(value = "血型id")
    private Integer bloodId;

    @ApiModelProperty(value = "健康状况 0:健康 1:一般 2:残疾")
    private Integer healthCondition;

    @ApiModelProperty(value = "从业状况id")
    private Integer employmentId;

    @ApiModelProperty(value = "婚姻状况id")
    private Integer marriageId;

    @ApiModelProperty(value = "审核状态 0:审核中 1:未通过 2:已通过")
    private Integer status;

    @ApiModelProperty(value = "审核未通过原因")
    private String failcause;

    @ApiModelProperty(value = "提交时间")
    private LocalDateTime entertime;


}
